angular.module('app').filter('duration', function(){
    return function(input) {
        if(input==0){
            return input;
        }else {
            var  min=Math.floor(input/60000);
            var  second=Math.floor((input-min*60000)/1000);
            if(min){
                return min+"'"+second+"\"";
            }else {
                return second+"\"";
            }
        }
    }
});